/**
 * 
 */
package net.homelinux.ajay.net.ondisk.model.client;


import com.google.gwt.http.client.Request;
import com.google.gwt.http.client.RequestBuilder;
import com.google.gwt.http.client.RequestCallback;
import com.google.gwt.http.client.RequestException;
import com.google.gwt.http.client.Response;

/**
 * @author ajay
 *
 */
public class GWTHttpWorker extends HttpWorker {

  /**
   * 
   */
  public GWTHttpWorker() {
    
  }

  public Request getHead(String url, RequestCallback hmeta) throws RequestException {
    RequestBuilder r = new HeadRequestBuilder (HeadRequestBuilder.HEAD, url);
    return r.sendRequest(null, hmeta);
  }

}
